package com.example.cstr.mapper;

import com.example.cstr.entity.Year;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface YearMapper {
    int deleteByPrimaryKey(Integer yearId);

    int insert(Year record);

    int insertSelective(Year record);

    Year selectByPrimaryKey(Integer yearId);

    int updateByPrimaryKeySelective(Year record);

    int updateByPrimaryKey(Year record);

    List<Year> selectAllYear();

    Year selectCurrentYear();
}